import { ItemData } from "../../resource/info/ItemData";
import { MagicWeaponConfig } from "../../resource/MagicWeaponConfig";
type int = number;
//class MagicWeaponTool
    
    export  class MagicWeaponTool
    {
        

        public static getStrenthenLv(arg1: ItemData): int
        {
            return arg1.magicWeaponLv;
        }

        public static getStrenthenAdd(arg1: ItemData): int
        {
            var loc1=MagicWeaponConfig.instance.getItemByTypeColorLevel(5, arg1.color, MagicWeaponTool.getStrenthenLv(arg1));
            var loc2=0;
            if (loc1 != null) 
            {
                loc2 = loc1.add;
            }
            return loc2;
        }
    }
